package com.xyht.sca_s.student_manage_system.modules.assetFixedReturn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.assetFixedReturn.entity.SmsAssetFixedReturnApply;
import com.xyht.sca_s.student_manage_system.modules.assetFixedReturn.entity.vo.SmsAssetFixedReturnApplyAllowVO;
import com.xyht.sca_s.student_manage_system.modules.assetFixedReturn.entity.vo.SmsAssetFixedReturnApplyExportVO;
import com.xyht.sca_s.student_manage_system.modules.assetFixedReturn.entity.vo.SmsAssetFixedReturnApplyVO;

import javax.servlet.http.HttpServletResponse;
import java.util.concurrent.Future;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author XYHT
 * @since 2023-06-01
 */
public interface SmsAssetFixedReturnApplyService extends IService<SmsAssetFixedReturnApply> {

    ResponseResult assetFixedReturnAdd(SmsAssetFixedReturnApplyVO applyVO, String user_id);

    ResponseResult cancelAssetFixedReturn(SmsAssetFixedReturnApplyVO cancelVO, String user_id);

    ResponseResult getAssetFixedReturnList(Integer apply_type, Integer pageSize, Integer pageNum, String user_id);

    ResponseResult getAssetFixedReturnDetail(String apply_id, String user_id);

    ResponseResult allowAssetFixedReturn(SmsAssetFixedReturnApplyAllowVO allowVO, String user_id);

    ResponseResult selectAssetFixedReturnByUserId(Integer pageSize,Integer pageNum,String user_id);

    ResponseResult selectAll(String apply_person, String apply_department, Integer pageSize, Integer pageNum);

    Future<ResponseResult> exportFixedReturnApplication(SmsAssetFixedReturnApplyExportVO exportVO, HttpServletResponse response);
}
